package com.study.jvm.load.demo;

import java.lang.reflect.InvocationTargetException;

public class Test {

    public static void main(String[] args) throws ClassNotFoundException, SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {
        Class.forName("com.study.jvm.load.demo.StringUtil");
        System.out.println("classForname结束！");
        //ClassLoader loader = Test.class.getClassLoader();
        // Class<?> cl = loader.loadClass("com.study.jvm.load.demo.StringUtil");
        //System.out.println("类装载结束！！！！");
        //Method me = cl.getMethod("say", null);
        //me.invoke(cl, null);
    }
}
